package com.ssd.entity.dto.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Null;

/**
 * 设置已兑换的礼品的快递信息和状态
 */
@Data
@ApiModel("填写兑换礼品的快递信息使用模型")
public class GiftExchangePutReqDTO {


    @ApiModelProperty(value = "兑换编号")
    @Null(message = "兑换编号为空，请输入兑换编号")
    private Long id;
    @ApiModelProperty(value = "礼品编号")
    @Null(message = "礼品编号为空，请输入礼品编号")
    private Long giftId;
    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;
    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;
    @ApiModelProperty(value = "详细地址")
    private String addressDetail;
    @ApiModelProperty(value = "快递号")
    private String trackingNumber;
    @ApiModelProperty(value = "状态：1 待发货，2 发货中，3 已完成")
    private Integer status=1;


}
